import {useLocation} from "react-router-dom";

function useIsShowPage() {
    const location=useLocation()
    if(location.pathname==='/login'){
        return false
    }else {
        return  true
    }
}

export default  useIsShowPage